package com.zlx.entities;


public class Menu {

  private Integer id;
  private Integer parentId;
  private String name;
  private String url;
  private Integer type;
  private Integer sort;

  public Menu() {
  }

  @Override
  public String toString() {
    return "Menu{" +
            "id=" + id +
            ", parentId=" + parentId +
            ", name='" + name + '\'' +
            ", url='" + url + '\'' +
            ", type=" + type +
            ", sort=" + sort +
            '}';
  }

  public Menu(Integer id, Integer parentId, String name, String url, Integer type, Integer sort) {
    this.id = id;
    this.parentId = parentId;
    this.name = name;
    this.url = url;
    this.type = type;
    this.sort = sort;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public Integer getSort() {
    return sort;
  }

  public void setSort(Integer sort) {
    this.sort = sort;
  }
}
